package com.ontology.util.parser.file.impl;
import java.io.File;
import java.util.List;
import java.util.Set;

import com.ontology.util.model.OColumn;
import com.ontology.util.model.OTable;
import com.ontology.util.parser.OLineParser;
import com.ontology.util.parser.content.TextLineParser;
public class TextFileParser extends AbstractFileParser<OTable> {
	private OLineParser<String>	lineParser;
	public TextFileParser(String delim) {
		lineParser = new TextLineParser(delim);
	}
	public List<OTable> parse(String pathname) {
		return parse(new File(pathname));
	}
	public List<OTable> parse(File file) {
		String content = "";
		List<OColumn> columns = lineParser.parseHeaderLine(content);
		lineParser.parseLine(content, columns);
		return null;
	}
	public Set<String> getEligibleBlankValues() {
		return lineParser.getEligibleBlankValues();
	}
}
